package com.cusprovider.dao;

import com.pojo.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {

    //查询所有的客户信息
    List<Customer> getCustomer();

    //根据id查询客户信息
    Customer getCustomerId(@Param("id") int id);

    //添加客户信息
    int addCustomer(Customer borrow);

    //删除客户信息
    int deleteCustomer(Customer borrow);

    //修改客户信息
    int updateCustomer(Customer customer);

}
